package com.rfid.afd.model;

import com.rfid.config.Constant;
import com.rfid.db.bean.Rfid;
import com.rfid.util.DBManager;
import com.rfid.util.LogUtils;

import java.io.BufferedWriter;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.util.List;

public class ShangjiaModel extends BaseModel{


    public Rfid getRfidByUid(String uid) {
        try{
            return DBManager.queryRfidByUid(uid);
        }catch (Exception e) {
            e.printStackTrace();
            LogUtils.v("has more than one epc = " + uid);
        }
        return null;
    }



}
